package doxygenxml.compound;

/**********************************************************************************************
 * Copyright (c) 2001-2020 Liquid Technologies Limited. All rights reserved.
 * See www.liquid-technologies.com for product details.
 *
 * Please see products End User License Agreement for distribution permissions.
 *
 * WARNING: THIS FILE IS GENERATED
 * Changes made outside of ##HAND_CODED_BLOCK_START blocks will be overwritten
 *
 * Generation  :  by Liquid XML Data Binder 18.0.5.9988
 * Using Schema: CENSORED
 **********************************************************************************************/

// <summary>
// </summary>
public enum DoxSimpleSectKind {
	See,
	return_,
	Author,
	Authors,
	Version,
	Since,
	Date,
	Note,
	Warning,
	Pre,
	Post,
	Copyright,
	Invariant,
	Remark,
	Attention,
	Par,
	Rcs;

	// Converts a DoxSimpleSectKind enumeration to a string (suitable for the XML document)
	public static String DoxSimpleSectKindToString(doxygenxml.compound.DoxSimpleSectKind enumValue) throws com.liquid_technologies.ltxmllib18.exceptions.LtInvalidValueException {
		switch(enumValue)
		{
		case See:
	    	return "see";
		case return_:
	    	return "return";
		case Author:
	    	return "author";
		case Authors:
	    	return "authors";
		case Version:
	    	return "version";
		case Since:
	    	return "since";
		case Date:
	    	return "date";
		case Note:
	    	return "note";
		case Warning:
	    	return "warning";
		case Pre:
	    	return "pre";
		case Post:
	    	return "post";
		case Copyright:
	    	return "copyright";
		case Invariant:
	    	return "invariant";
		case Remark:
	    	return "remark";
		case Attention:
	    	return "attention";
		case Par:
	    	return "par";
		case Rcs:
	    	return "rcs";
		default:
	    	throw new com.liquid_technologies.ltxmllib18.exceptions.LtInvalidValueException("Unknown enumeration value for doxygenxml.compound.DoxSimpleSectKind [" + enumValue.toString() + "]");
		}
	}
	
	// 	Converts a string to a DoxSimpleSectKind enumeration
	public static DoxSimpleSectKind DoxSimpleSectKindFromString(String enumValue) throws com.liquid_technologies.ltxmllib18.exceptions.LtInvalidValueException {
		String enumCollapsedValue = com.liquid_technologies.ltxmllib18.WhitespaceUtils.collapse(enumValue);
		if (enumCollapsedValue.equals("see"))
			return See;
		else if (enumCollapsedValue.equals("return"))
			return return_;
		else if (enumCollapsedValue.equals("author"))
			return Author;
		else if (enumCollapsedValue.equals("authors"))
			return Authors;
		else if (enumCollapsedValue.equals("version"))
			return Version;
		else if (enumCollapsedValue.equals("since"))
			return Since;
		else if (enumCollapsedValue.equals("date"))
			return Date;
		else if (enumCollapsedValue.equals("note"))
			return Note;
		else if (enumCollapsedValue.equals("warning"))
			return Warning;
		else if (enumCollapsedValue.equals("pre"))
			return Pre;
		else if (enumCollapsedValue.equals("post"))
			return Post;
		else if (enumCollapsedValue.equals("copyright"))
			return Copyright;
		else if (enumCollapsedValue.equals("invariant"))
			return Invariant;
		else if (enumCollapsedValue.equals("remark"))
			return Remark;
		else if (enumCollapsedValue.equals("attention"))
			return Attention;
		else if (enumCollapsedValue.equals("par"))
			return Par;
		else if (enumCollapsedValue.equals("rcs"))
			return Rcs;
		else
			// ##HAND_CODED_BLOCK_START ID="Default Enum doxygenxml.compound.DoxSimpleSectKind"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
			throw new com.liquid_technologies.ltxmllib18.exceptions.LtInvalidValueException("Unknown enumeration value for doxygenxml.compound.DoxSimpleSectKind [" + enumValue + "]");
			// ##HAND_CODED_BLOCK_END ID="Default Enum doxygenxml.compound.DoxSimpleSectKind"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
	}
}

